package com.nengchuan.eic.nceconomy.component.excel;


/**
 * Excel处理责任链抽象类
 */
public abstract class BaseHandler {

    //下一个处理节点
    protected BaseHandler nextHandler;

    /**
     * 设置下一处理节点
     * @param handler
     */
    public void setNextHandler(BaseHandler handler){
        this.nextHandler = handler;
    }

    /**
     * 处理请求,子类实现
     **/
    public abstract ResponseModel handlerRequest(RequestModel request);
}
